{% extends "base/base_form.html" %}
{% load i18n %}
{% block title %}导入导出工作事项记录{% endblock %}
{% block editHead %}
{% include "include/js_calendar.html" %} 
<script type="text/javascript">
window.onload=function(){
	var oldOnsubmit = document.forms['form'].onsubmit;
	document.forms['form'].onsubmit = function(){
		var check = oldOnsubmit(); 
		var check2 = true;
		form = document.forms['form'];
		if(check&&check2){
			bupticetCommon.emptyOnUnload();
			bupticetCommon.disableSubmit();
			return true;
		}else{
			return false;
		}
	}
}
</script>
{% endblock %}  

{% block editBody %}
{% include "work_note/lib/left.html" %} 
<form name="form" action="./!import" method="POST" onsubmit="return true;">
<input type="hidden" name="submit_times" value="{{ submit_times }}"/>
<table class="main" summary="Edit Table">
<caption>导入导出工作事项记录</caption>
<thead>
<tr>
<th colspan="2">
<a href="javascript:bupticetCommon.emptyOnUnload();self.location.href='!export';void(0);">导出我的所有工作事项记录</a>
</th>
</tr>
</thead>
<tfoot>
<tr>
<th colspan="2">
{% include "lib/form_buttons.html" %} 
</th>
</tr>
</tfoot>
<tbody>
<tr height="50">
<td colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td colspan="2">
  导入工作事项记录：
</td>
</tr>
{{ form.as_table }}
</tbody>
</table>
</form>
{% include "work_note/lib/right.html" %}
{% endblock %}